home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / mg2a_src.zip / SYS / OSK / MAKEFILE < prev    next >
Text File  |  1988-08-23  |  3KB  |  92 lines

  1.  
  2.  
  3. # Makefile for OSK MicroGnuEMACS by Robert A. Larson
  4. #    07/12/86    MicroGnuEMACS version
  5. # Copy ./sys/osk/makefile to . before making.  Check
  6. # OPTS and LIBS.
  7. #
  8. # mg is short for micrognuemacs.  Call it what you want.
  9. NAME = mg
  10. # terminal type or termcap
  11. TERM = TERMCAP
  12. # opts is for user definable options
  13. OPTS = -dMAXMEM=320 -dXKEYS
  14. # termlib is needed for termcap.
  15. LFLAGS = -l=/dd/lib/termlib.l -m=4
  16. CFLAGS = -r=. -t=/r0
  17. OBJ = basic.r \
  18.  dir.r \
  19.  dired.r \
  20.  file.r \
  21.  line.r \
  22.  match.r \
  23.  paragraph.r \
  24.  random.r \
  25.  region.r \
  26.  search.r \
  27.  version.r \
  28.  window.r \
  29.  word.r
  30. # unique requirements
  31. IND = buffer.r \
  32.  display.r \
  33.  echo.r \
  34.  extend.r \
  35.  help.r \
  36.  kbd.r \
  37.  keymap.r \
  38.  macro.r \
  39.  main.r \
  40.  modes.r \
  41.  regex.r \
  42.  re_search.r
  43. # these files are listed individually below
  44. SYSOBJ = cinfo.r \
  45.  fileio.r \
  46.  spawn.r \
  47.  ttyio.r \
  48.  tty.r \
  49.  ttykbd.r
  50. #
  51. $(NAME): $(OBJ) $(IND) $(SYSOBJ) makefile
  52.  cc -i -f=$(NAME) $(LFLAGS) $(OBJ) $(IND) $(SYSOBJ)
  53. $(OBJ): def.h sysdef.h ttydef.h chrdef.h makefile
  54.  cc $(CFLAGS) $(OPTS) $*.c
  55. kbd.r: def.h sysdef.h ttydef.h chrdef.h makefile macro.h kbd.h key.h
  56.  cc $(CFLAGS) $(OPTS) $*.c
  57. macro.r main.r: def.h sysdef.h ttydef.h chrdef.h makefile macro.h
  58.  cc $(CFLAGS) $(OPTS) $*.c
  59. buffer.r display.r keymap.r help.r modes.r dired.r: \
  60.   def.h sysdef.h ttydef.h chrdef.h makefile kbd.h
  61.  cc $(CFLAGS) $(OPTS) $*.c
  62. extend.r: def.h sysdef.h ttydef.h chrdef.h makefile kbd.h macro.h key.h
  63.  cc $(CFLAGS) $(OPTS) $*.c
  64. help.r: def.h sysdef.h ttydef.h chrdef.h makefile kbd.h key.h macro.h
  65.  cc $(CFLAGS) $(OPTS) $*.c
  66. echo.r: def.h sysdef.h ttydef.h chrdef.h makefile key.h macro.h
  67.  cc $(CFLAGS) $(OPTS) $*.c
  68. regex.r re_search.r: def.h sysdef.h ttydef.h chrdef.h makefile regex.h
  69.  cc $(CFLAGS) $(OPTS) $*.c
  70. fileio.r: sys/osk/fileio.c def.h sysdef.h ttydef.h chrdef.h makefile kbd.h
  71.  cc $(CFLAGS) $(OPTS) sys/osk/fileio.c
  72. spawn.r: sys/osk/spawn.c def.h sysdef.h ttydef.h chrdef.h makefile
  73.  cc $(CFLAGS) $(OPTS) sys/osk/spawn.c
  74. ttyio.r: sys/osk/ttyio.c def.h sysdef.h ttydef.h chrdef.h makefile
  75.  cc $(CFLAGS) $(OPTS) sys/osk/ttyio.c
  76. tty.r: sys/default/tty.c def.h sysdef.h ttydef.h chrdef.h makefile
  77.  cc $(CFLAGS) $(OPTS) sys/default/tty.c
  78. ttykbd.r: sys/default/ttykbd.c def.h sysdef.h ttydef.h chrdef.h makefile
  79.  cc $(CFLAGS) $(OPTS) sys/default/ttykbd.c
  80. cinfo.r: sys/default/cinfo.c def.h sysdef.h ttydef.h chrdef.h makefile
  81.  cc $(CFLAGS) $(OPTS) sys/default/cinfo.c
  82. # The touch commands are needed to update the modified time.
  83. sysdef.h: sys/osk/sysdef.h
  84.  copy -b=16 -w=. -r sys/osk/sysdef.h
  85.  touch sysdef.h
  86. ttydef.h: sys/default/ttydef.h
  87.  copy -b=16 -w=. -r sys/default/ttydef.h
  88.  touch ttydef.h
  89. chrdef.h: sys/default/chrdef.h
  90.  copy -b=16 -w=. -r sys/default/chrdef.h
  91.  touch chrdef.h
  92.